//
//  ResourceModel+Annotation.m
//  CareGiver
//
//  Created by Guillermo Moral on 8/23/14.
//  Copyright (c) 2014 Humana. All rights reserved.
//

#import "ResourceModel+Annotation.h"


@implementation ResourceModel (Annotation)

-(CLLocationCoordinate2D)coordinate {
    CLLocationCoordinate2D coordinate;
    
    coordinate.latitude = [self.latitude doubleValue];
    coordinate.longitude = [self.longitude doubleValue];

    return coordinate;
}

- (NSString *)title
{
    return self.organization;
}

- (NSString *)subtitle
{
    return @"";
}

@end
